﻿using Common.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Database.Mappers
{
    public partial class Mapper
    {
        public ItemTypeDTO Map(ItemType itemType)
        {
            return new ItemTypeDTO
            {
                Id = itemType.Id
            };
        }

        public ItemType Map(ItemTypeDTO itemType)
        {
            return new ItemType
            {
                Id = itemType.Id
            };
        }
    }
}
